package com.huangwei.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
@Data
@ToString
@ApiModel("滑动广告")
public class Banner implements Serializable {
    @ApiModelProperty("广告ID")
    private Integer bannerId;
    @ApiModelProperty("广告图片")
    private String imgUrl;
    @ApiModelProperty("对应车辆")
    private Car car;
}
